package com.syy.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

@Data
@TableName("blog")
public class Blog  implements Serializable {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private String title;
    private String content;
    @TableField("createdate")
    private LocalDate createDate;
    private Integer scan;
    private Integer comment;
}
